package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 球队表
 */
@Entity
@Setter
@Getter
@ToString
public class FootQd extends BaseEntity implements Serializable {
    @Column(name = "logo")
    private Long logo;
    @Transient
    private String logoUrl;
    @Column(name = "qdbm", length = 20)
    @NotNull
    private String qdbm;
    @Column(name = "ssls_id")
    @NotNull
    private Long sslsId;
    @Transient
    private String sslsName;
    @Column(name = "qdmc", length = 200)
    @NotNull
    private String qdmc;
    @Column(name = "slt")
    private Long slt;
    @Transient
    private String sltUrl;
    @Transient
    private byte[] img;
    @Transient
    private byte[] imgslt;
    @Column(name = "cs", length = 200)
    private String cs;
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "clsj", length = 19)
    private Date clsj;
    @Column(name = "qdjj")
    private String qdjj;
    @Column(name = "zyjx")
    private String zyjx;
    @Column(name = "qc")
    private Long qc;
    @Column(name = "address", length = 200)
    private String address;
    @Transient
    private String qcUrl;
}